// by: wei_sc2
// time: 2020-10-09
// desc: 日志备份api
import request from '@/utils/request'

//备份分页查询
export function getLogData (data) {
  return request({
    url: '/sys-monitor/log/backup/page',
    method: 'get',
    params: data
  })
}
//备份指定日期日志
export function backupLog (params) {
  return request({
    url: '/sys-monitor/log/backup',
    method: 'get',
    params: params
  })
}

//删除备份日志文件
export function deleteLog (params) {
  return request({
    url: '/sys-monitor/log/backup',
    method: 'delete',
    params: params
  })
}